Imports System
Imports System.Net
Imports System.Windows
Imports Xceed.Silverlight.DataGrid
Namespace Xceed.Silverlight.Documentation
Public Class AlternatingGroupLevelConfigurationSelector
Inherits DataGridGroupConfigurationSelector
Public Property EvenGroupConfiguration As DataGridGroupConfiguration
Get
End Get
Set
End Set
End Property
Public Property OddGroupConfiguration As DataGridGroupConfiguration
Get
End Get
Set
End Set
End Property
Public Overrides Function Select( ByVal level As Integer, ByVal dataItem As Object ) As DataGridGroupConfiguration
If ( level Mod 2 ) = 0 Then
Return Me.EvenGroupConfiguration
Return Me.OddGroupConfiguration
End Function
End Class
End Namespace